package com.yqy.controller;

import com.yqy.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestController {
    @Autowired
    private TestService service;

    @RequestMapping("/test")
    public String test(){
        service.testListener();
        return "success";
    }
}
